Skip to content

Conversation

@CloudMarc
Copy link

This pull request introduces a new Dockerfile for containerizing the application, updates the docker-compose.yml configuration, adds a new dependency, improves file handling in a script, and refactors a test script to use explicit configuration. Below is a breakdown of the most important changes:

Containerization and Deployment

  • Added a Dockerfile to containerize the application. This includes setting up a Python 3.10 environment, installing dependencies using Poetry, and defining environment variables for Solr and Ollama configurations. The application is set to run on port 8000. (Dockerfile, DockerfileR1-R33)
  • Updated docker-compose.yml to specify the command for running the application inside the container. (docker-compose.yml, docker-compose.ymlR153)

Dependency Management

  • Added aiohttp as a new dependency in pyproject.toml, which may be used for asynchronous HTTP requests. (pyproject.toml, pyproject.tomlR31)

Script Improvements

  • Enhanced the process_markdown_file function to ensure the output directory exists before writing files, improving robustness. (scripts/process_markdown.py, scripts/process_markdown.pyR105-R109)

Test Refactoring

  • Refactored simple_mcp_test.py to use an explicit SolrConfig object when initializing SolrClient, making the configuration more transparent and flexible. Commented out unused search-related code for future updates. (scripts/simple_mcp_test.py, [1] [2]

@epugh
Copy link

epugh commented Nov 10, 2025

I love the work! Just as an FYI, there was recently set up a https://github.com/apache/solr-mcp project, which has the same name. MCP is early days, and having multiple options is a good thing. I don't know if the name collision on solr-mcp will be an issue or not in the future.

In my perfect world, the MCP capabilities are just part of Solr so you don't need to install anything extra, but that isn't what we have in the short term, so having multiple options is a good thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants